<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>管理后台</title>
</head>
<body bgcolor="#CED3FE">
<a href='#'>返回管理界面</a>　　<a href='#' th:href="@{/login}">安全退出</a> 　　欢迎您：<span th:text="${loginUser.loginName}">张三</span>
<hr/>
<div style="text-align: center">
    <h1>管理雇员~</h1>
    <table border="1px" cellspacing="0" bordercolor="green" style="width:800px;margin: auto">
        <tr bgcolor="pink">
            <td>用户ID</td>
            <td>登录账号</td>
            <td>用户名称</td>
            <td>性别</td>
        </tr>
        <tr bgcolor="#ffc0cb" th:each="user:${users}">
            <td th:text="${user.userId}">a</td>
            <td th:text="${user.loginName}">b</td>
            <td th:text="${user.userName}">c</td>
            <td th:text="${user.sex}">c</td>
        </tr>
    </table>
    <br/>
</div>
<hr/>
</body>
</html>
